package com.ishare.common.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 密码表单
 * @author Mark sunlightcs@gmail.com
 */
@ApiModel(value = "密码表单模型")
public class PasswordBo implements Serializable {
    private static final long serialVersionUID = -8046270416431976768L;
    /**
     * 原密码
     */
    @ApiModelProperty(value = "原密码",required = true)
    private String password;
    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码",required = true)
    private String newPassword;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    @Override
    public String toString() {
        return "PasswordForm{" +
                "password='" + password + '\'' +
                ", newPassword='" + newPassword + '\'' +
                '}';
    }
}
